//
//  MAPYHudCommon.h
//  Mars Proxy
//
//  Created by PowerfullClean on 2023/10/25.
//

#import <Foundation/Foundation.h>
#import <MBProgressHUD.h>
NS_ASSUME_NONNULL_BEGIN
@interface MAPYHudCommon : NSObject<MBProgressHUDDelegate>{
    MBProgressHUD *showMessage;
}

@property (nonatomic,strong)  MBProgressHUD *showMessage;

+ (void)mapy_showMessage:(NSString *)message isError:(BOOL)yesOrNo;
+ (void)mapy_showMessage:(NSString *)message view:(UIView*)view isError:(BOOL)yesOrNo;
+ (MBProgressHUD *)mapy_showProcessMessage:(NSString *)message;
+ (MBProgressHUD *)mapy_showProcessMessage:(NSString *)message view:(UIView*)view;

@end
@interface MBProgressHUD (hidden)

- (void)mapy_hideAnimation:(BOOL)animation;

@end

NS_ASSUME_NONNULL_END
